<extend name="./Application/Common/View/block/base.php" />
<block name="header">
    <include file="./Application/Admin/View/block/easyui_header.php" />
    <link href="/extend/umeditor/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">
    <link href="__PUBLIC__/css/Announce/show.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/css/table_form.css" rel="stylesheet" type="text/css" />
</block>
<block name="bdoy">
    <body>
        <form action="" method="post" onsubmit="return $(this).form('validate');">
            <input type="hidden" name="id" value="{$obj['id']}"/>
            <input type="hidden" name="nav" value="{$obj['parentid']}"/>
            <div class="form-line">
                <input type="submit" class="submit-button bule-button" value="{:LANG('save')}">
                <input type="button" onclick="close_dialog()" class="submit-button" value="{:LANG('cancel')}">
            </div>
            <script type="text/plain" id="editor" onabort="content" name="content" style="width:100%;height:100%;">{$obj['content']}</script>
        </form>
    </body>
</block>
<block name="footExtendJs">
    <!--百度编辑器-->
    <script type="text/javascript" charset="utf-8" src="/extend/umeditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/extend/umeditor/umeditor.min.js"></script>
    <script type="text/javascript" src="/extend/umeditor/lang/zh-cn/zh-cn.js"></script>
    <script>
        var serverPath = '/extend/umeditor/php/',
            um = UM.getEditor('editor', {
                imageUrl:serverPath + "imageUp.php",
                imagePath:serverPath,
                lang:/^zh/.test(navigator.language || navigator.browserLanguage || navigator.userLanguage) ? 'zh-cn' : 'en',
                langPath:UMEDITOR_CONFIG.UMEDITOR_HOME_URL + "lang/",
                focus: true
            });

    </script>
    <!--百度编辑器-->

</block>
